package com.kly.user.db.entity;
import com.fqgj.common.entity.BaseEntity;
import java.util.Date;
/**
* User: linqu
* Date: 2024-01-02
* Time: 16:08:08.412
* TableDesc:
*/
public class UserMsgEntity extends BaseEntity{
    /**
    *消息主键
    */
    private String msgId;
    /**
    *chatter用户
    */
    private String chatterUserCode;
    /**
    *发送用户
    */
    private String fromUserCode;
    /**
    *接收用户
    */
    private String toUserCode;
    /**
    *文字消息-1, 图片消息-2, GIF图片消息-3, 图文消息-4, 文件消息-5, 位置消息-6, 小视频消息-7, 引用消息-8, 合并转发消息-9
    */
    private String msgType;
    /**
    *消息内容
    */
    private String content;
    /**
    *消息来源：iOS、Android、Websocket、MiniProgram（小程序）、PC、Server

    */
    private String source;
    /**
    *会话ID
    */
    private String sessionId;
    /**
    *回复延迟时间，单位秒S
    */
    private Integer repliedSecondsGap;
    /**
    *是否回复：0-否 1-是
    */
    private Integer repliedFlag;
    /**
    *回复时间
    */
    private Date repliedTime;


    public  String getMsgId(){
        return this.msgId;
    }

    public  UserMsgEntity setMsgId(String msgId){
        this.msgId = msgId;
        return this;
    }

    public  String getChatterUserCode(){
        return this.chatterUserCode;
    }

    public  UserMsgEntity setChatterUserCode(String chatterUserCode){
        this.chatterUserCode = chatterUserCode;
        return this;
    }

    public  String getFromUserCode(){
        return this.fromUserCode;
    }

    public  UserMsgEntity setFromUserCode(String fromUserCode){
        this.fromUserCode = fromUserCode;
        return this;
    }

    public  String getToUserCode(){
        return this.toUserCode;
    }

    public  UserMsgEntity setToUserCode(String toUserCode){
        this.toUserCode = toUserCode;
        return this;
    }

    public  String getMsgType(){
        return this.msgType;
    }

    public  UserMsgEntity setMsgType(String msgType){
        this.msgType = msgType;
        return this;
    }

    public  String getContent(){
        return this.content;
    }

    public  UserMsgEntity setContent(String content){
        this.content = content;
        return this;
    }

    public  String getSource(){
        return this.source;
    }

    public  UserMsgEntity setSource(String source){
        this.source = source;
        return this;
    }

    public  String getSessionId(){
        return this.sessionId;
    }

    public  UserMsgEntity setSessionId(String sessionId){
        this.sessionId = sessionId;
        return this;
    }

    public  Integer getRepliedSecondsGap(){
        return this.repliedSecondsGap;
    }

    public  UserMsgEntity setRepliedSecondsGap(Integer repliedSecondsGap){
        this.repliedSecondsGap = repliedSecondsGap;
        return this;
    }

    public  Integer getRepliedFlag(){
        return this.repliedFlag;
    }

    public  UserMsgEntity setRepliedFlag(Integer repliedFlag){
        this.repliedFlag = repliedFlag;
        return this;
    }

    public  Date getRepliedTime(){
        return this.repliedTime;
    }

    public  UserMsgEntity setRepliedTime(Date repliedTime){
        this.repliedTime = repliedTime;
        return this;
    }
}
